package top.yangbuyi.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ClassName: Loginfo
 * Description: 杨不易网站 :www.yangbuyi.top
 * date: 2020/4/26
 *
 * @author TeouBle
 * @author yangbuyi
 * @since JDK 1.8
 * 商品
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "bus_goods")
public class Goods implements Serializable {
	  @TableId(value = "id", type = IdType.AUTO)
	  private Integer id;
	  
	  @TableField(value = "goodsname")
	  private String goodsname;
	  
	  @TableField(value = "produceplace")
	  private String produceplace;
	  
	  @TableField(value = "size")
	  private String size;
	  
	  @TableField(value = "goodspackage")
	  private String goodspackage;
	  
	  @TableField(value = "productcode")
	  private String productcode;
	  
	  @TableField(value = "promitcode")
	  private String promitcode;
	  
	  @TableField(value = "description")
	  private String description;
	  
	  @TableField(value = "price")
	  private Double price;
	  
	  @TableField(value = "number")
	  private Integer number;
	  
	  @TableField(value = "dangernum")
	  private Integer dangernum;
	  
	  @TableField(value = "goodsimg")
	  private String goodsimg;
	  
	  @TableField(value = "available")
	  private Integer available;
	  
	  @TableField(value = "providerid")
	  private Integer providerid;
	  
	  @TableField(exist = false)
	  private String providername;
	  
	  private static final long serialVersionUID = 1L;
	  
	  public static final String COL_ID = "id";
	  
	  public static final String COL_GOODSNAME = "goodsname";
	  
	  public static final String COL_PRODUCEPLACE = "produceplace";
	  
	  public static final String COL_SIZE = "size";
	  
	  public static final String COL_GOODSPACKAGE = "goodspackage";
	  
	  public static final String COL_PRODUCTCODE = "productcode";
	  
	  public static final String COL_PROMITCODE = "promitcode";
	  
	  public static final String COL_DESCRIPTION = "description";
	  
	  public static final String COL_PRICE = "price";
	  
	  public static final String COL_NUMBER = "number";
	  
	  public static final String COL_DANGERNUM = "dangernum";
	  
	  public static final String COL_GOODSIMG = "goodsimg";
	  
	  public static final String COL_AVAILABLE = "available";
	  
	  public static final String COL_PROVIDERID = "providerid";
}